package services.dictionary;

import base.IBaseServicesWithoutBLOBs;
import wt.entity.dictionary.ItemType;
import wt.entity.dictionary.ItemTypeExample;

import java.util.List;

/**
 * Created by Administrator on 2017/10/14.
 */
public interface ItemTypeServices extends IBaseServicesWithoutBLOBs< ItemType, ItemTypeExample> {
    List<ItemType> selectLiveItemType() throws Exception;

    /**
     * 添加事项时，同时添加专业
     *
     * @param itemType
     */
    void insertSelectiveAutoInsertMajorType(ItemType itemType) throws Exception;

    ItemType selectByItemNum(String itemNum) throws Exception;

}
